<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_2856719_p920advpzib.css">
    <style>
        *{
            padding:0;
            margin:0;
        }
        div{
            width: 1000px;
            height: 600px;
            margin: 0 auto;
            background-color: #eee;
        }
    </style>
</head>
<body>
    <div class="box">
        <p>
            <label for="user">用户名:</label>
            <input type="text" id="user">
            <span id="user_span"></span>
        </p>
        <p>
            <label for="pwd">密&emsp;码:</label>
            <input type="text" id="pwd">
            <span id="pwd_span"></span>
        </p>
        <p>
            <label for="repwd">确&emsp;认:</label>
            <input type="text" id="repwd">
            <span id="repwd_span"></span>
        </p>
        <p>
            <label for="code">验证码:</label>
            <input type="text" id="code">
            <span id="createCode">b124</span>
            <span id="code_span"></span>
        </p>
        <p>
            <input id="btn" type="submit" value="注册">
        </p>
    </div>
</body>
<script src="注册.js"></script>
</html>